Higher-Order Component
コンポーネントを受け取ってコンポーネントを返す関数
const EnhancedComponent = higherOrderComponent(WrappedComponent);
既存のコンポーネントに機能を追加するようなことができる
propsを足したり
Hooksが登場してからはあまり使われなくなったっぽい
例
reduxのconnect
Material-UIのwithStyles
https://reactjs.org/docs/higher-order-components.html